package com.ctcemti.mdm.project.sys.dao;

import com.ctcemti.mdm.project.sys.entity.OrgJob;
import com.ctcemti.mdm.project.sys.entity.OrgOrganization;
import com.ctcemti.mdm.project.sys.entity.OrgJob;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
@Mapper
public interface JobMapper extends tk.mybatis.mapper.common.Mapper<OrgJob> {

    /**
     *获取岗位职责
     * @return
     */
    List<OrgJob> getJobs(@Param("job") int job);
    /* *
     * @Author bxf
     * @Description 批量添加
     * @Date 15:04 2019/10/30
     * @param var
     * @return int
     */
    int insertBatch(List<OrgJob> list);
}